﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace JamesThew.Dashboard
{
    public class Post
    {
        public int PostID { get; set; }
        public int PostAuthor { get; set; }
        public String PostDate { get; set; }
        public String PostTitle { get; set; }
        public String PostContent { get; set; }
        public String PostExcerpt { get; set; }
        public String PostStatus { get; set; }
        public String PostCommentStatus { get; set; }
        public String PostPassword { get; set; }
        public String PostModified { get; set; }
        public int PostParent { get; set; }
        public String PostGUID { get; set; }
        public int PostMenuOrder { get; set; }
        public String PostType { get; set; }
        public String PostMimeType { get; set; }
        public int PostCommentCount { get; set; }
        public String PostIcon { get; set; }
        public int PostViews { get; set; }
        public String PostThumbnail { get; set; }

        public Post() { }

        public Post(int PostID, int PostAuthor, String PostDate, String PostTitle, String PostContent,
            String PostExcerpt, String PostStatus, String PostCommentStatus, String PostPassword,
            String PostModified, int PostParent, String PostGUID, int PostMenuOrder, String PostType,
            String PostMimeType, int PostCommentCount, String PostIcon, int PostViews, String PostThumbnail) 
        {
            this.PostID = PostID;
            this.PostAuthor = PostAuthor;
            this.PostDate = PostDate;
            this.PostTitle = PostTitle;
            this.PostContent = PostContent;
            this.PostExcerpt = PostExcerpt;
            this.PostStatus = PostStatus;
            this.PostCommentCount = PostCommentCount;
            this.PostPassword = PostPassword;
            this.PostModified = PostModified;
            this.PostParent = PostParent;
            this.PostGUID = PostGUID;
            this.PostMenuOrder = PostMenuOrder;
            this.PostType = PostType;
            this.PostMimeType = PostMimeType;
            this.PostCommentCount = PostCommentCount;
            this.PostIcon = PostIcon;
            this.PostViews = PostViews;
            this.PostThumbnail = PostThumbnail;
        }

        public Post(int PostAuthor, String PostDate, String PostTitle, String PostContent,
            String PostExcerpt, String PostStatus, String PostCommentStatus, String PostPassword,
            String PostModified, int PostParent, String PostGUID, int PostMenuOrder, String PostType,
            String PostMimeType, int PostCommentCount, String PostIcon, int PostViews, String PostThumbnail)
        {
            this.PostAuthor = PostAuthor;
            this.PostDate = PostDate;
            this.PostTitle = PostTitle;
            this.PostContent = PostContent;
            this.PostExcerpt = PostExcerpt;
            this.PostStatus = PostStatus;
            this.PostCommentCount = PostCommentCount;
            this.PostPassword = PostPassword;
            this.PostModified = PostModified;
            this.PostParent = PostParent;
            this.PostGUID = PostGUID;
            this.PostMenuOrder = PostMenuOrder;
            this.PostType = PostType;
            this.PostMimeType = PostMimeType;
            this.PostCommentCount = PostCommentCount;
            this.PostIcon = PostIcon;
            this.PostViews = PostViews;
            this.PostThumbnail = PostThumbnail;
        }



    }
}